package com.renbang.utils;

import javax.servlet.jsp.tagext.TagSupport;
import javax.servlet.jsp.JspException;  
public class PowerTag extends TagSupport {  
    private static final long serialVersionUID = 1L;  
    private String value = "";  
      
    public String getValue() {
		return value;
	}
	public void setValue(String value) {
		this.value = value;
	}
	public PowerTag() {  
    }  
    public int doStartTag() {  
    	if(this.value.equals("abc")){
    		 return EVAL_BODY_INCLUDE;
    	}
        return SKIP_BODY;  
    }  
    public int doEndTag() throws JspException {  
        return EVAL_PAGE;  
    }  
}  
